package com.centaline.androidsalesblog.api.sale;

import com.centaline.androidsalesblog.api.SaleApi;
import com.centaline.androidsalesblog.model.responseobject.RegionPostRo;
import com.centanet.framework.interfaces.IResponseListener;

/**
 * 租售小区房源数量
 * Created by guilin on 16/2/16.
 */
public class RegionPostsApi extends SaleApi<RegionPostRo> {

    public RegionPostsApi(Class<?> tag, Class<RegionPostRo> aClass, IResponseListener<RegionPostRo> iResponseListener) {
        super(tag, aClass, iResponseListener);
    }

    @Override
    protected void setParams() {
        putParams("postType", "s");
        putParams("id", 0);
        putParams("level", 0);
    }

    @Override
    protected String getPath() {
        return "RegionPosts";
    }
}
